//
//  MainViewController.h
//  TP
//
//  Created by apple on 16/3/10.
//  Copyright © 2016年 姜小琦. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol MainViewControllerCustomDelegate <NSObject>

- (void)gotoLoginViewController;

@end

@protocol tabbarDelegate <NSObject>

-(void)touchBtnAtIndex:(NSInteger)index;


@end

@class tabbarView;


@interface MainViewController : UITabBarController
+(MainViewController *)shareMainViewController;
@property(nonatomic,strong) tabbarView *tabbar;
@property(nonatomic,strong) NSArray *arrayViewcontrollers;
@property (nonatomic,weak) id<MainViewControllerCustomDelegate>mainvcdelegate;
@end
